package com.luzh.myspring.context.event;

import com.luzh.myspring.context.ApplicationContext;
import com.luzh.myspring.context.ApplicationEvent;

/**
 * 上下文事件
 */
public class ApplicationContextEvent extends ApplicationEvent {

    public ApplicationContextEvent(Object source) {
        super(source);
    }

    public final ApplicationContext getApplicationContext() {
        return (ApplicationContext) getSource();
    }

}

